﻿using System;
using System.Collections.Generic;
using System.Text;

namespace KG.SystemService.RelationDTO
{
    public class InputUpdate
    {
        /// <summary>
        /// 关系id
        /// </summary>
        public string id { get; set; }
        /// <summary>
        /// 关系标签
        /// </summary>
        public string type { get; set; }

        /// <summary>
        /// 关系属性
        /// </summary>
        public string Properties { get; set; }

        public string[] deleteProperty { get; set; }
        public void Check()
        {
            if (id == null)
            {
                throw new Exception("起始节点id不能为空");
            }
        }
    }
}
